import java.awt.*;

public class hilfe {
	public int x, y;
	public int posButtonID = 0;
	public Font font1 = new Font("Helvetica", Font.PLAIN, 20);
	public boolean clicked = false;
	public int item = 3;

	public void drawObjects(Graphics g) {
		item = 3;
		posButtonID = 0;
		g.setFont(font1);
		g.setColor(Color.DARK_GRAY);
		g.fillRect(0, 0, 800, 600);
		if ((x >= 300 && y >= 520) && (x <= 500 && y <= 575)) {

			posButtonID = 1;
			if (clicked) {
				item = 0;

			}
		}
		if (posButtonID == 1) {
			g.setColor(Color.CYAN);
		} else {
			g.setColor(Color.RED);
		}
		g.drawRect(300, 500, 200, 50);
		g.drawRect(305, 500 + 5, 190, 40);
		g.drawString("Zurueck", 358, 533);
		g.setColor(Color.DARK_GRAY);

	}
}